package com.smart.community.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

   /**
    * @author : 子未语
    * @date : 2024/1/14 10:05
    */

/**
 * 部门类型
 */
@Data
@TableName(value = "dept_type")
public class DeptType {
    /**
     * 部门类别ID
     */
    @TableId(value = "dept_type_id", type = IdType.INPUT)
    private Integer deptTypeId;

    /**
     * 部门类型名称
     */
    @TableField(value = "dept_type_name")
    private String deptTypeName;

    /**
     * 类型级别  1表示一级分类  2 表示二级分类  3 表示三级分类
     */
    @TableField(value = "dept_type_level")
    private String deptTypeLevel;

    /**
     * 父菜单ID 0 表示一级分类
     */
    @TableField(value = "dept_type_parent_id")
    private Integer deptTypeParentId;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    private Date createDate;

    /**
     * 1删除 0正常
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_DEPT_TYPE_ID = "dept_type_id";

    public static final String COL_DEPT_TYPE_NAME = "dept_type_name";

    public static final String COL_DEPT_TYPE_LEVEL = "dept_type_level";

    public static final String COL_DEPT_TYPE_PARENT_ID = "dept_type_parent_id";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_DEL_STATUS = "del_status";
}